//
//  EFAPjtDetailFView.m
//  efairy
//
//  Created by XiangDongMBP on 2017/8/14.
//  Copyright © 2017年 East. All rights reserved.
//

#import "EFAPjtDetailFView.h"

@implementation EFAPjtDetailFView

- (void)awakeFromNib {
    [super awakeFromNib];
    
    self.contentView.backgroundColor = [UIColor whiteColor];
    [self.moreBtn addTarget:self action:@selector(moreBtnTapped:) forControlEvents:UIControlEventTouchUpInside];
}

- (void)setUnfolder:(BOOL)unfolder {
    self.moreBtn.selected = unfolder;
}

- (void)moreBtnTapped:(UIButton *)btn {
    if ([self.delegate respondsToSelector:@selector(pjtDetailFView:section:moreBtnTapped:)]) {
        [self.delegate pjtDetailFView:self section:self.section moreBtnTapped:btn];
    }
}

@end
